var M=require("ming_node");

const Api= require("ming_node/plugins/BaseRpcApi/FileBaseRpcApi");
let api = new Api({tableName:"member.json",prefix:"/opem/member",generateTime:true})
var app=M.server();
app.listen(8888);
app.use(api);

app.begin((req, res) => {
    console.log("====>", req.url,req.method)
    if(req.method=="OPTIONS"){ res.send({})}
})

